package edu.polsl.bio.str.common.messaging;

import edu.polsl.bio.str.common.dto.StrMatch;
import edu.polsl.bio.tools.str.StrMatcherConfig;

import java.io.Serializable;
import java.util.List;

/**
 * //todo class description
 * <p/>
 * Created on: Jun 11, 2011 11:18:27 PM <br/>
 * <a href="http://www.polsl.pl">www.polsl.pl</a>
 *
 * @author lukasz.olczak@polsl.pl
 */
public class StrDotsPayload implements Serializable {

  private long jobId;

  private long nodeId;

  private List<StrMatch> dots;

  private List<StrMatch> reverseDots;

  private StrMatcherConfig config;

  public long getJobId() {
    return jobId;
  }

  public void setJobId(long jobId) {
    this.jobId = jobId;
  }

  public long getNodeId() {
    return nodeId;
  }

  public void setNodeId(long nodeId) {
    this.nodeId = nodeId;
  }

  public List<StrMatch> getDots() {
    return dots;
  }

  public void setDots(List<StrMatch> dots) {
    this.dots = dots;
  }

  public StrMatcherConfig getConfig() {
    return config;
  }

  public void setConfig(StrMatcherConfig config) {
    this.config = config;
  }

  public List<StrMatch> getReverseDots() {
    return reverseDots;
  }

  public void setReverseDots(List<StrMatch> reverseDots) {
    this.reverseDots = reverseDots;
  }

  @Override
  public String toString() {
    return "StrDotsPayload{" +
           "config=" + config +
           ", jobId=" + jobId +
           ", nodeId=" + nodeId +
           ", dots=" + dots.size() +
           ", reverseDots=" + reverseDots.size() +
           '}';
  }
}
